package com.mvc.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName ShopCar
 * @Description TODO
 * @Author king
 * @Date 2021/11/27 21:03
 * @Version 1.0
 **/
@Data
public class ShopCar {
    private Integer id;
    private Integer uid;
    private String type;
    private Integer product_id;
    private String product_attribute;
    private Integer product_num;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date shop_day;

    }
